import request from "@/utils/request";

export function articleList(page,pageSize){
    return request({
        url:"/api/articles",
        method:"get",
        params:{page:page,per_page:pageSize==null?15:pageSize}
    })
}

export function articleDetail(id){
    return request({
        url:"/api/articles/"+id,
        method:"get",
    })
}
